package com.tiantianyuegou.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.tiantianyuegou.R;

/**
 * 忘记支付密码
 */
public class ForgetPayPSWActivity extends Activity implements View.OnClickListener{

    private ImageView img_title;
    private TextView text_title;

    private EditText edt_forget_pay,edt_validate;
    private Button btn_validate,btn_next;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_forget_pay_psw);
    }



    private void init(){
        text_title=(TextView)findViewById(R.id.text_title);
        img_title=(ImageView)findViewById(R.id.img_title);

        text_title.setText(R.string.pay_psw_title);
        img_title.setOnClickListener(this);

        edt_forget_pay=(EditText)findViewById(R.id.edt_forget_pay);
        edt_validate=(EditText)findViewById(R.id.edt_validate);
        btn_validate=(Button)findViewById(R.id.btn_validate);
        btn_next=(Button)findViewById(R.id.btn_next);

        btn_validate.setOnClickListener(this);
        btn_next.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch(view.getId()){

            case R.id.img_title:
                finish();
                break;

            case R.id.btn_confirm:
                break;

            case R.id.btn_next:
                break;

            default:
                break;
        }
    }
}
